<template>
  <div>
    <h1>测试</h1>
    <h2>width</h2>
    首页
  </div>
</template>

<script>
import { channels } from '@/api/home.js'
export default {
  async created () {
    const res = await channels()
    console.log(res)
  }
}
</script>

<style lang="less" scoped>
h1 {
  background-color: @geek-color;
}
</style>
